package org.study.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

//@RestController注解相当于@ResponseBody ＋ @Controller合在一起的作用。
@RestController
public class HelloSpringboot {
    @GetMapping("hellow")
    public String hellow(){
        return "hellow Springboot";
    }
}
